﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code")]
    public class PTZPresetTourSpot
    {
        private XmlAttribute[] anyAttrField;
        private PTZPresetTourSpotExtension extensionField;
        private PTZPresetTourPresetDetail presetDetailField;
        private PTZSpeed speedField;
        private string stayTimeField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public PTZPresetTourSpotExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=0)]
        public PTZPresetTourPresetDetail PresetDetail
        {
            get
            {
                return this.presetDetailField;
            }
            set
            {
                this.presetDetailField = value;
            }
        }

        [XmlElement(Order=1)]
        public PTZSpeed Speed
        {
            get
            {
                return this.speedField;
            }
            set
            {
                this.speedField = value;
            }
        }

        [XmlElement(DataType="duration", Order=2)]
        public string StayTime
        {
            get
            {
                return this.stayTimeField;
            }
            set
            {
                this.stayTimeField = value;
            }
        }
    }
}

